cmake_minimum_required(VERSION 3.12)
project(demo_c_http C)

set(CMAKE_C_STANDARD 99)

#add_executable(demo_c_http main.c http/http_win.c http/http_win.h http/http_linux.c http/http_linux.h)

#shared, i.e., dynamic library，动态库文件扩展名常为 "*.so"
add_library(demo_c_http SHARED http/http_linux.c http/http_linux.h)

#static, i.e., static library， 静态库文件扩展名常为 "*.a";
#add_library(demo_c_http STATIC http/http_linux.c http/http_linux.h)
